Developer --> Technical Publications
PATHMac OS 8 Developer Documentation > Networking and Communications > AppleShare >

User Authentication Modules


SendRequest Callback

Sends a message to a server.
pascal OSStatus SendRequest(UAMMessagePtr message);
message
Pointer to a UAMMessage structure.
DISCUSSION

The SendRequest callback routine sends a command to the server. The value of UAMMessage.commandCode must be kSendRequest .

For AFP connections, the size of cmdBuffer is limited to kMaxAFPCommand (576 bytes) and cmdBuffer must contain an AFP command.

For synchronous operation, set UAMMessage.completion and UAMMessage.contextPtr to nil. For asynchronous operation, set UAMMessage.completion to point to your completion routine and set UAMMessage.contextPtr to a value that identifies this request.

The value of UAMMessage.sessionRefNum is the session reference number returned by previously calling the AFP client's OpenSession callback routine.


© 1999 Apple Computer, Inc. – (Last Updated 07 May 99)